<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="app">
    <img v-bind:src="imgURL" alt="">
    <a v-bind:href="aHref">百度一下</a>

    <!--语法糖写法-->
    <img :src="imgURL" alt="">
    <a :href="aHref">百度一下</a>
</div>

<script src="../../js/vue.js"></script>
<script>
    const app = new Vue({
        el: '#app',
        data: {
            message: '你好啊',
            imgURL: 'https://img30.360buyimg.com/seckillcms/s280x280_jfs' +
                '/t1/192653/40/9594/200237/60d05b40Ea1f964b3/89128bff7ae0cd33.jpg.webp',
            aHref: 'https://www.baidu.com'
        }
    })
</script>

</body>
</html>